package com.ssy.lingxi.purchase.service.bidding;

import com.ssy.lingxi.common.model.dto.UserLoginCacheDTO;
import com.ssy.lingxi.common.response.PageData;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.purchase.api.dto.request.BaseAllRequest;
import com.ssy.lingxi.purchase.api.dto.request.BaseDetailsRequest;
import com.ssy.lingxi.purchase.api.dto.request.BaseExamineRequest;
import com.ssy.lingxi.purchase.api.dto.request.bidding.BiddingListRequest;
import com.ssy.lingxi.purchase.api.dto.request.bidding.BiddingProductRequest;
import com.ssy.lingxi.purchase.api.dto.response.bidding.BiddingDetailsResponse;
import com.ssy.lingxi.purchase.api.dto.response.bidding.BiddingListResponse;
import com.ssy.lingxi.purchase.api.dto.response.bidding.BiddingMemberResponse;

/**
* 平台后台采购竞价审核
* @author wrc
* @date 2021/3/23
*/
public interface PlatformBiddingService {

    /**
     * 采购竞价单查询
     */
    Wrapper<PageData<BiddingListResponse>> biddingList(BiddingListRequest request, UserLoginCacheDTO sysUser);


    /**
     * 采购询价-采购需求单详情
     */
    Wrapper<BiddingDetailsResponse> biddingDetails(BaseDetailsRequest request, UserLoginCacheDTO sysUser);



    /**
     * 待审核采购竞价单查询
     */
    Wrapper<PageData<BiddingListResponse>> examineBidding(BiddingListRequest request, UserLoginCacheDTO sysUser);


    /**
     *审核采购竞价单
     */
    Wrapper ecamine(BaseExamineRequest request,UserLoginCacheDTO sysUser);


    /**
     *审核采购竞价单批量
     */
    Wrapper examineBatch(BaseAllRequest request, UserLoginCacheDTO sysUser);


    /**
     * 需求对接会员列表分页查询
     */
    Wrapper<PageData<BiddingMemberResponse>> memberPage(BaseDetailsRequest request, UserLoginCacheDTO sysUser);

    /**
     * 采购物料分页查询
     */
    Wrapper<PageData<BiddingProductRequest>> materielPage(BaseDetailsRequest request, UserLoginCacheDTO sysUser);


}
